updated index and view for staffs